package com.example.mymatch.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Emp {
        private int id;
        private String empName;
        private String empGender;
        @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date empBirthday;
        private int empNumber;
        private String empPost;
        private String empDept;
        private String empAddress;
        private int empUserid;
        private String empState;

    public int getEmpNumber() {
        return empNumber;
    }

    public void setEmpNumber(int empNumber) {
        this.empNumber = empNumber;
    }

    public int getEmpUserid() {
        return empUserid;
    }

    public void setEmpUserid(int empUserid) {
        this.empUserid = empUserid;
    }

    public String getEmpState() {
        return empState;
    }

    public void setEmpState(String empState) {
        this.empState = empState;
    }

    public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getEmpName() {
            return empName;
        }

        public void setEmpName(String empName) {
            this.empName = empName;
        }

        public String getEmpGender() {
            return empGender;
        }

        public void setEmpGender(String empGender) {
            this.empGender = empGender;
        }

        public Date getEmpBirthday() {
            return empBirthday;
        }

        public void setEmpBirthday(Date empBirthday) {
            this.empBirthday = empBirthday;
        }

        public String getEmpPost() {
            return empPost;
        }

        public void setEmpPost(String empPost) {
            this.empPost = empPost;
        }

        public String getEmpDept(){return empDept;}

        public void setEmpDept(String empDept){this.empDept=empDept;}

        public String getEmpAddress(){return empAddress;}

        public void setEmpAddress(String empAddress){this.empAddress=empAddress;}
    }


